# $Id: PKGBUILD 65479 2012-02-21 06:00:54Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Zhukov Pavel <gelios@gmail.com>

pkgname=synce-rra
pkgver=0.14
pkgrel=5
pkgdesc="provide a means of communication with a Windows CE device - rra libraries for synce"
arch=('i686' 'x86_64')
url="http://synce.sourceforge.net/"
license=('GPL')
depends=('glibc' 'synce-librapi' 'synce-libmimedir')
makedepends=('python2' 'pyrex')
source=(http://downloads.sourceforge.net/synce/librra-$pkgver.tar.gz)
md5sums=('3a608174a3a476c96dd4dd4929448fe8')

build() {
  cd $srcdir/librra-$pkgver
  ./configure --prefix=/usr
  sed -i s/-Werror// lib/Makefile src/Makefile
  make
  make DESTDIR=$pkgdir install
}
